<?php
$pg=$_POST['pg'];
switch ($pg){
case 'lgn':
    include ("../vistas/principal.php");
    break;

case 'productos':
    include ("../vistas/productos.php");
    break;

case 'nuevo_articulo':
    include ("../vistas/anadir_articulo.php");
    break;
case 'buscar_familia':
    include ("../vistas/buscar_familia.php");
    break;
case 'nueva_familia':
    include ("../vistas/nueva_familia.php");
    break;
case 'venta_mostrador':
    include ("../vistas/venta_mostrador.php");
    break;
}
 ?>
